package com.itheima.wallet.web.Controller;

import com.itheima.wallet.api.IWalletService;
import com.itheima.wallet.user.api.IUserService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author G_Y
 * @Date 2021/3/8 19:39
 * @Description: // TODO
 **/
@RestController
public class TestController {
    @Reference
    private IUserService userService;
    @Reference
    private IWalletService walletService;
    @GetMapping("/test")
    public String test(Integer int1){
        System.out.println(userService.testUser(int1));
        System.out.println(walletService.test(int1));
        return "OK";
    }
}
